﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="activityifo.aspx.cs" Inherits="activityifo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>活动详细</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <!--内容开始-->
    <div class="main">
        <div class="actifo" style="background: url(<%=teamInfo.Picbak %>) repeat; text-align: center;">
            <p class="actifocot">
                <img alt="<%=teamInfo.Piccollect %>" src="<%=teamInfo.Listpic %>" name="showpicw" />
            </p>
        </div>
        <div class="actifo1" id="actifo">
            <p class="ifo1lt" id="LeftArr">
            </p>
            <div class="ifo1cot">
                <ul class="ifo1nr">
                <%if (teamInfo.Piccollect.Equals(""))
                  { %>
                <li><img alt="<%=teamInfo.Name %>" onclick="showphoto('<%=teamInfo.Listpic%>','<%=teamInfo.Name %>')" src="<%=teamInfo.Listpic %>" /></li>
                <%}
                  else
                  { %>
                  <li><img alt="<%=teamInfo.Name %>" onclick="showphoto('<%=teamInfo.Listpic%>','<%=teamInfo.Name %>')" src="<%=teamInfo.Listpic %>" /></li>
                    <%
                        if (imgList != null)
                        {
                            foreach (string imglist in imgList)
                            { %> 
                      <li><img alt="<%=teamInfo.Name %>" onclick="showphoto('<%=imglist%>','<%=teamInfo.Name %>')" src="<%=imglist %>" /></li>
                    <%}
                        }
                  }%>
                </ul>
            </div>
            <p class="ifo1rt" id="RightArr">
            </p>
        </div>
        <p class="actifo2">
        </p>
        <div class="actifo3">
            &nbsp;&nbsp;&nbsp;&nbsp;<%=teamInfo.Shortdesc %>
        </div>
    </div>
    <!--内容结束-->

    <script type="text/javascript" language="javascript">

        //左右按钮控制图片滚动
        jQuery("#actifo").Scroll({ line: 1, speed: 100, left: "RightArr", right: "LeftArr", timer: "5000" });

        //点击滚动处图片，上面大图片变化
        function showphoto(pic, tit) {
            document.all.showpicw.src = pic;
            document.all.showpicw.alt = tit;
            return;
        }
	
    </script>

</asp:Content>
